package com.example.demo.Service;

import com.example.demo.entity.vo.ShoppingCartVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IShoppingService {

    int shoppingCartAdd(Long userId,Long productId);

    List<ShoppingCartVo> list(Long userId);

    int NumAdd(Long shoppingCartId,Long num);

    int delete(Long shoppingCartId);

    int count(HttpServletRequest request);

}
